package com.ruoyi.mobile.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.mobile.domain.MaterialInfojkEntity;
import com.ruoyi.mobile.utils.NftResponse;
import com.ruoyi.mobile.utils.Paginator;
import com.ruoyi.system.api.req.*;
import com.ruoyi.system.api.resp.*;

public interface MaterialjkService extends IService<MaterialInfojkEntity> {
    public NftResponse<Paginator<MaterialInfojkResp>> getMaterialjkList(MaterialInfojkReq query);
    public NftResponse<Paginator<MaterialjkOrderResp>> getOrderList(MaterialjkOrderReq query);
    public NftResponse<Paginator<MaterialjkCollectResp>> getCollectList(MaterialjkCollectReq query);
    public NftResponse<MaterialInfojkResp> getMaterialInfo(Long id, Long userId);
    public NftResponse<MaterialInfojkResp> getMaterialInfot(Long id, Long userId);
    public NftResponse<String> playVoice(Long id, Long userId);
    public NftResponse<JSONObject> insertOrderInfo(MaterialjkOrderReq query);
    public NftResponse<JSONObject> insertOrderInfot(MaterialjkOrderReq query);
    public NftResponse<JSONObject> insertCollectInfo(MaterialjkCollectReq query);
    public NftResponse<JSONObject> insertHoldInfojk(MaterialjkViewReq query);
    public NftResponse<Boolean> delOrderjk(Long id);
    public NftResponse<Boolean> delCollectjk(Long id);
}
